package com.inventive.jmscache.server;

import javax.jms.JMSException;
import javax.jms.XAConnection;
import javax.jms.XASession;

/**
 * User: grant
 */
public class JmsCacheXAConnection extends JmsCacheConnection implements XAConnection {

    public JmsCacheXAConnection(JmsCacheServer jmsCacheServer) {
        super(jmsCacheServer);
    }

    public XASession createXASession() throws JMSException {
        return new JmsCacheXASession(jmsCacheServer);
    }
}
